package org.rency.crawler.fetch.repository;

import org.rency.crawler.domain.FetchExtension;

/**
 * 描述: ${TODO}<br>
 * 最近修改时间:2017/11/23 9:44<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/11/23 9:44
 */
public interface FetchExtRepository {

  /**
   * 按照编号获取扩展信息
   * @param fetchNo
   * @return
   */
  public FetchExtension find(String fetchNo);

  public boolean save(String fetchNo, FetchExtension extension);

  public boolean update(String fetchNo, FetchExtension extension);

  public long deleteAll();
}
